General Usage¶
- Run ./pkpass.py with the ‘-h’ flag for a list of options as well as syntax. Some common usage examples follow:
Create a new security team root password in the password store:
./pkpass.py create security-team/rootpw
Distribute the security team root password to other team members ‘foo’ and ‘bar’:
./pkpass.py distribute security-team/rootpw -u foo,bar
Distribute the security team passwords to the group secadmins
./pkpass.py distribute 'security-team/*' -g secadmins
List the names of all passwords that have been distributed to you:
./pkpass.py list
List the names of all escrow passwords that have been distributed to you:
./pkpass.py list -r
Show the infrastructure team root password:
./pkpass.py show infra-team/rootpw
Show all the passwords that you know:
./pkpass.py show -a
Show all the passwords that you know whose filename has rpm (case-insensitive):
./pkpass.py show -a rpm
List the names of all passwords that have been distributed to user identity ‘foo’:
./pkpass.py list -i foo
Show the users that pkpass detects certificates for in the certificate repository:
./pkpass.py listrecipients